<template>
  <div class="home">
    <el-container>
      <el-header height="70px"></el-header>
      <el-container>
        <el-aside width="150px">
          <Exit></Exit>
        </el-aside>
        <el-main>Main</el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import Exit from "@/components/exit";
import axios from "axios"
export default {
  name: "Home",
  components: {
    Exit
  },
  created(){
    axios.get("/login").then(e=>{
      console.log(e)
    })
  }
};
</script>
<style scoped lang="scss">
.home {
  width: 1280px;
  margin: 0 auto;
  .el-container {
    font-family: "PingFang SC", Arial, sans-serif;
    .el-header {
      background-color: rgb(42, 130, 228);
    }
    .el-aside{
      overflow: hidden;
    }
  }
}
</style>
